package com.ghy.ic.mo.constant;

/**
 * 常量定义
 * @author Y-Tree
 * @date 18-12-2 下午4:04
 */
public class BcsConstant {

    /**
     * 服务服务状态
     */
    public static final int UNDER_WAY = 0;
    public static final int END = 1;
    public static final int STOP = 2;

    /**
     * 该模块的标记
     */
    public static final int MODULES = 8;

    /**
     * 循环尝试此时
     */
    public static final int NUMBER_OF_ATTEMPTS = 3;

    /**
     * 系统管理员
     */
    public static final int IS_ADMIN = 0;
    public static final int IS_NOT_ADMIN = 1;

    /**
     * 是否预约
     */
    public static final int IS_BOOK = 0;
    public static final int IS_NOT_BOOK = 1;

    /**
     * 是否评价服务
     */
    public static final int IS_EVALUATION = 0;
    public static final int IS_NOT_EVALUATION = 1;

    /**
     * 没有预约时
     */
    public static final int NOT_BOOK_ID = -1;

    /**
     * 取消,开启服务
     */
    public static final int CANCEL_SERVICE = 1;
    public static final int OPEN_SERVICE = 0;

    /**
     * 上午下午时间标记
     */
    public static final int FORENOON = 1;
    public static final int AFTERNOON = 2;

    /**
     * 上下午对应的班车发车时间
     */
    public static final String FORENOON_TIME = "09:10";
    public static final String AFTERNOON_TIME = "14:10";

    /**
     * csv列名称定义
     */
    public static final String COL_NAME = "编号,提交人,提交人电话,代理人,发车日期,发车时间,用户提交时间";
    public static final String MAP_KEY = "id,submitterName,submitterTelephone,agentName,departureDate,departureTime,createTime";
}
